/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package za.co.pas.business.message;

import za.co.pas.business.message.MessageObj;
import za.co.pas.business.data.Company;

/**
 *
 * @author alabuschagne
 */
public class RequestCompanyDetailChange extends MessageObj
{
    public RequestCompanyDetailChange()
    {
        super(MessageObj.REQUEST_COMPANY_DETAILS_CHANGE);
    }

    public RequestCompanyDetailChange(Company newCompany)
    {
        super(MessageObj.REQUEST_COMPANY_DETAILS_CHANGE);
        setNewValue(newCompany);
    }

    public RequestCompanyDetailChange(Company currentCompany, Company newCompany)
    {
        super(MessageObj.REQUEST_COMPANY_DETAILS_CHANGE);
        setOldValue(currentCompany);
        setNewValue(newCompany);
    }
}
